Repository navigation
ci: make workflows Option-B aware (manifests-only prebuilt) - #32
Merged
Merged
Conversation
The prebuilt submodule now ships manifests only; binaries live in the matching release's assets and are rehydrated by fetch-artifacts.sh. Three workflows still assumed binaries were committed to git: - check-prebuilt-manifests.sh asserted every artifact was git-tracked. Repurpose it to verify each declared artifact carries a resolvable SHA256 (whole-file or a complete part_sha256 set) -- the deliverability guarantee that actually holds under Option B, since fetch-artifacts.sh verifies files against these hashes. - smoke-test.yml / linux-integration.yml installed straight from prebuilt/ and failed with "manifests-only checkout (binaries not fetched yet)". Add a fetch-artifacts.sh step (platform-scoped) ahead of install; base defaults to the release tag derived from version.go, overridable via DEVKIT_ARTIFACT_BASE. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The
prebuilt/submodule was migrated to Option B (commits 2a3cdc3, 864bfdc):it now ships manifests only — the binaries live in the matching release's
assets and are rehydrated by
fetch-artifacts.sh. Three CI workflows stillassumed the binaries were committed to git, so they broke:
MISSINGentries (every tool archive), blocking all open dependabot PRs.
with
manifests-only checkout (binaries not fetched yet).What
check-prebuilt-manifests.sh— repurposed from "is every artifactgit-tracked?" to "does every declared artifact carry a resolvable SHA256?"
(whole-file
sha256or a completepart_sha256set). That is thedeliverability guarantee that actually holds under Option B, since
fetch-artifacts.shverifies each fetched file against these hashes. Stillfails on a genuinely broken manifest (missing/malformed checksum) — verified
locally both ways.
smoke-test.yml/linux-integration.yml— add a platform-scopedfetch-artifacts.shstep ahead of install. Base defaults to the release tagderived from
version.go(currentlyv1.3.71), overridable via theDEVKIT_ARTIFACT_BASErepo variable for an internal mirror.🤖 Generated with Claude Code